package com.jia.client;

import com.jia.service.*;

import java.util.List;
import java.util.Map;


/**
 * Created by jia on 2018/4/11.
 */
public class ClientTest {
    public static void main(String[] args) {
        UserDaoImplService userDaoImplService = new UserDaoImplService();
        UserDao userDaoImplPort = userDaoImplService.getUserDaoImplPort();
        List<Role> listRoles = userDaoImplPort.getRoleByUserName("贾武伟");
        System.out.println(listRoles);
        MyRoleMapArray userRoles1 = userDaoImplPort.getUserRoles();
        List<MyRoleMap> userRoles = userDaoImplPort.getUserRoles().getItem();
        //System.out.println(userRoles);
    }

}
